5 best practices for writing rest api using express js